package com.testing.sunnycommon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.testing.sunnycommon.model.SunnyResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Classname SunnyResultService
 * @Description 类型说明
 * @Date 2023/5/29 21:39
 * @Created by 特斯汀Roy
 */
@Mapper
public interface SunnyResultMapper extends BaseMapper<SunnyResult> {

    @Select("select max(build_order) from sunny_result where project_id=#{projectId}")
    Long getMaxBuildOrderOfProject(Long projectId);

}
